package com.maven.front.mapper;


import com.maven.front.bean.EduStatisticsDay;

import java.util.Date;
import java.util.List;

public interface EduStatisticsDayMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(EduStatisticsDay record);

    int insertSelective(EduStatisticsDay record);

    EduStatisticsDay selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(EduStatisticsDay record);

    int updateByPrimaryKey(EduStatisticsDay record);

    //查询指定时间段的统计数据
    public List<EduStatisticsDay> getStatisticsByDate(Date startTime, Date endTime);

    //查询7天内的数据
    public List<EduStatisticsDay> getDaya();

    //查询15天内的数据
    public List<EduStatisticsDay> getDayb();

    //查询30天内的数据
    public List<EduStatisticsDay> getDayc();
}